<script setup>
  import { onMounted } from 'vue'
  onMounted(() => {
    console.log('首页');
  })
</script>
<script>
  export default { name: 'Index' }
</script>

<template>
  <div>
    index
  </div>
</template>